solution without logarithms

真数解法